/*
 * $HeadURL: $
 * $Id: $
 * Copyright (c) 2013 by Wodensoft System, all rights reserved.
 */
package com.wodensoft.core.context;

/**
 * @author wodenwang
 * 
 */
public class SessionContext extends BaseContext {
    /**
     * 每次http调用周期所使用的request信息
     */
    private static ThreadLocal<SessionContext> valueLocal = new ThreadLocal<>();

    /**
     * 获取request实例
     * 
     * @return
     */
    public static SessionContext getCurrent() {
        return valueLocal.get();
    }

}
